Text File | 2000-10-06 | 467 b | 5 lines | [TEXT/ttxt]
This project is a very simple demonstration of how to add a moving star field background to your game. Take a look at the functions SetUpStars and MoveStars in Stars.c to see how it is done. For more information, see the documentation for SWAnimateStarField in Inside SpriteWorld.
SW 2.3 Update:
Since the background in this demo is a single black color, we can use SWStdWorldClearDrawProc or BlitPixieClearDrawProc to erase offscreen which makes it go even faster.